let mongoose = require("mongoose");
let Schema=mongoose.Schema;

let weChatSchema = new mongoose.Schema({
    "ACCESS_TOKEN": String,
    "weChatMenu": [
        {
            "is_menu_open": Number,
            "wx_menu": {
                "button": Array
            }
        }
    ],
    "tag": [
        {
            "id": Number,
            "name": String
        }
    ]
});
module.exports = mongoose.model("weChat", weChatSchema, "weChat");
